<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>用户管理</title>
		<link rel="stylesheet" type="text/css" href="../../static/lib/layui/css/layui.css" />
		<script src="../../static/lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div class="layui-body">
			<!-- 内容主体区域 -->
			<div style="padding: 20px;">
				<div class="layui-form">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">用户名</label>
							<div class="layui-input-inline">
								<input type="text" name="userName" autocomplete="off" placeholder="请输入用户名" class="layui-input">
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">邮箱</label>
							<div class="layui-input-inline">
								<input type="text" name="email" autocomplete="off" placeholder="请输入邮箱" class="layui-input">
							</div>
						</div>
						<div class="layui-inline">
							<button class="layui-btn" lay-submit lay-filter="search_btn">查询</button>
						</div>
					</div>
				</div>
				
				<table class="layui-hide" id="user_tb" lay-filter="user_tb"></table>
					
				<script type="text/html" id="barDemo">
					<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> 
					<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
				</script>
			</div>
		</div>
	</body>
	<script src="../../static/js/admin/user.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/html" id="user_form_tmpl">
		<form action="" class="layui-form" lay-filter="user-form" style="margin-right:30px;margin-top: 20px;">
			<div class="layui-form-item">
				<label class="layui-form-label">用户ID</label>
				<div class="layui-input-inline">
					<input type="text" name="userId" autocomplete="off" readonly class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">用户名</label>
				<div class="layui-input-inline">
					<input type="text" name="userName" autocomplete="off" placeholder="请输入用户名" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">用户密码</label>
				<div class="layui-input-inline">
					<input type="password" name="password" autocomplete="off" placeholder="请输入用户密码" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">邮箱</label>
					<div class="layui-input-inline">
						<input type="text" name="email" autocomplete="off" placeholder="请输入邮箱" class="layui-input">
					</div>
				</div>
			</div>
		</form>
	</script>
</html>
